import { UserData } from "./UserData";

export interface FriendshipRequestData{
    
    id: number;

    /**
     * 用户ID，外键关联到用户表的ID字段
     */
    fromUserId: number
    fromUser?: UserData;

    /**
     * 用户ID，外键关联到用户表的ID字段
     */
    toUserId: number
    toUser?: UserData;

    message: string;

    requestDate: Date;

    responseDate?: Date;

    isAccepted: boolean;
}